package com.project.bean;

/*
* 用户
* */
public class UserBean {
    private Integer userId;//用户id
    private String dept;//部门
    private String userName;//姓名
    private String userPwd;//密码
    private String job;//职位

    public UserBean() {
    }

    public UserBean(Integer userId, String dept, String userName, String userPwd, String job) {
        this.userId = userId;
        this.dept = dept;
        this.userName = userName;
        this.userPwd = userPwd;
        this.job = job;
    }

    public UserBean(String dept, String userName, String userPwd, String job) {
        this.dept = dept;
        this.userName = userName;
        this.userPwd = userPwd;
        this.job = job;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userId=" + userId +
                ", dept='" + dept + '\'' +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", job='" + job + '\'' +
                '}';
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }
}
